package com.hxm.meizi.app;

import android.app.Application;

import com.blankj.utilcode.utils.LogUtils;
import com.blankj.utilcode.utils.ToastUtils;
import com.blankj.utilcode.utils.Utils;

/**
 * Created by hxm on 2017/2/18.
 * application
 */

public class AppContext extends Application {
    public static AppContext instance;

    public static AppContext getInstance() {
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        Utils.init(this);
        ToastUtils.init(true);
        LogUtils.init(true, false, 'v', null);
    }
}
